/**
 * index.js
 * @authors 杨兴洲（of2502）
 * @date    2017/5/22 0022 17:07
 * @version 1.0
 * @last-modify  杨兴洲（of2502）
 */

import React, {Component} from 'react';
import {StoreProvider} from 'iflux2';
import AppStore from '../store.js';
import AccountBind from './component/AccountBind';

@StoreProvider(AppStore)
class AppContainer extends Component {
    componentDidMount() {
        this.props.store.fetchUserInfo()
    }

    render() {
        return <AccountBind />
    }
}

export default AppContainer;